package com.baidu.videoseries.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

/**
 * Created by SC-002 on 2016/12/12.
 */
public class MusicReceiver extends BroadcastReceiver {
    private OnReceiverListener mOnReceiverListener;

    public void setOnReceiveListener(OnReceiverListener mOnReceiverListener) {
        this.mOnReceiverListener = mOnReceiverListener;
    }

    @Override
    public void onReceive(Context context, Intent intent) {
        mOnReceiverListener.onReceive(context, intent);
    }

    public interface OnReceiverListener {
        void onReceive(Context context, Intent intent);
    }
}
